.class Lrexsee/natives/RexseeJavaView$5;
.super Ljava/lang/Object;
.source "RexseeJavaView.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lrexsee/natives/RexseeJavaView;->setChilds(Ljava/lang/String;Ljava/lang/String;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lrexsee/natives/RexseeJavaView;

.field private final synthetic val$childs:Ljava/lang/String;

.field private final synthetic val$viewTag:Lrexsee/natives/ViewTag;


# direct methods
.method constructor <init>(Lrexsee/natives/RexseeJavaView;Lrexsee/natives/ViewTag;Ljava/lang/String;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lrexsee/natives/RexseeJavaView$5;->this$0:Lrexsee/natives/RexseeJavaView;

    iput-object p2, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iput-object p3, p0, Lrexsee/natives/RexseeJavaView$5;->val$childs:Ljava/lang/String;

    .line 271
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 15

    .prologue
    .line 274
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v12, v12, Lrexsee/natives/ViewTag;->type:Ljava/lang/String;

    const-string v13, "PageView"

    invoke-virtual {v12, v13}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v12

    if-eqz v12, :cond_1

    .line 275
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v12, v12, Lrexsee/natives/ViewTag;->style:Lrexsee/core/style/StyleSheet;

    iget-object v12, v12, Lrexsee/core/style/StyleSheet;->progress:Ljava/lang/String;

    const/4 v13, 0x0

    invoke-static {v12, v13}, Lrexsee/core/utilities/Utilities;->getInt(Ljava/lang/String;I)I

    move-result v10

    .line 276
    .local v10, "position":I
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v0, v12, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    check-cast v0, Lrexsee/ebook/PageView;

    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$childs:Ljava/lang/String;

    invoke-virtual {v0, v12, v10}, Lrexsee/ebook/PageView;->load(Ljava/lang/String;I)V

    .line 375
    .end local v10    # "position":I
    :cond_0
    :goto_0
    return-void

    .line 279
    :cond_1
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$childs:Ljava/lang/String;

    const-string v13, "\\|"

    invoke-virtual {v12, v13}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v6

    .line 280
    .local v6, "ids":[Ljava/lang/String;
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v12, v12, Lrexsee/natives/ViewTag;->type:Ljava/lang/String;

    const-string v13, "Spinner"

    invoke-virtual {v12, v13}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v12

    if-eqz v12, :cond_3

    .line 281
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v0, v12, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    check-cast v0, Landroid/widget/Spinner;

    new-instance v12, Lrexsee/natives/clazz/StringAdapter;

    iget-object v13, p0, Lrexsee/natives/RexseeJavaView$5;->this$0:Lrexsee/natives/RexseeJavaView;

    # getter for: Lrexsee/natives/RexseeJavaView;->mBrowser:Lrexsee/core/browser/Browser;
    invoke-static {v13}, Lrexsee/natives/RexseeJavaView;->access$0(Lrexsee/natives/RexseeJavaView;)Lrexsee/core/browser/Browser;

    move-result-object v13

    iget-object v14, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v14, v14, Lrexsee/natives/ViewTag;->style:Lrexsee/core/style/StyleSheet;

    invoke-direct {v12, v13, v14, v6}, Lrexsee/natives/clazz/StringAdapter;-><init>(Lrexsee/core/browser/Browser;Lrexsee/core/style/StyleSheet;[Ljava/lang/String;)V

    invoke-virtual {v0, v12}, Landroid/widget/Spinner;->setAdapter(Landroid/widget/SpinnerAdapter;)V

    .line 282
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v0, v12, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    check-cast v0, Landroid/widget/Spinner;

    const/4 v12, 0x0

    invoke-virtual {v0, v12}, Landroid/widget/Spinner;->setSelection(I)V

    .line 374
    :cond_2
    :goto_1
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v12, v12, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    invoke-virtual {v12}, Landroid/view/View;->postInvalidate()V

    goto :goto_0

    .line 283
    :cond_3
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v12, v12, Lrexsee/natives/ViewTag;->type:Ljava/lang/String;

    const-string v13, "Gallery"

    invoke-virtual {v12, v13}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v12

    if-nez v12, :cond_4

    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v12, v12, Lrexsee/natives/ViewTag;->type:Ljava/lang/String;

    const-string v13, "ThreeDGallery"

    invoke-virtual {v12, v13}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v12

    if-eqz v12, :cond_7

    .line 284
    :cond_4
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v12, v12, Lrexsee/natives/ViewTag;->style:Lrexsee/core/style/StyleSheet;

    iget-object v12, v12, Lrexsee/core/style/StyleSheet;->mode:Ljava/lang/String;

    const-string v13, "View"

    invoke-virtual {v12, v13}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v12

    if-eqz v12, :cond_6

    .line 285
    array-length v12, v6

    new-array v11, v12, [Landroid/view/View;

    .line 286
    .local v11, "views":[Landroid/view/View;
    const/4 v5, 0x0

    .local v5, "i":I
    :goto_2
    array-length v12, v6

    if-lt v5, v12, :cond_5

    .line 292
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v0, v12, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    check-cast v0, Landroid/widget/Gallery;

    new-instance v12, Lrexsee/natives/clazz/GalleryAdapter;

    iget-object v13, p0, Lrexsee/natives/RexseeJavaView$5;->this$0:Lrexsee/natives/RexseeJavaView;

    # getter for: Lrexsee/natives/RexseeJavaView;->mBrowser:Lrexsee/core/browser/Browser;
    invoke-static {v13}, Lrexsee/natives/RexseeJavaView;->access$0(Lrexsee/natives/RexseeJavaView;)Lrexsee/core/browser/Browser;

    move-result-object v13

    iget-object v14, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    invoke-direct {v12, v13, v14, v11}, Lrexsee/natives/clazz/GalleryAdapter;-><init>(Lrexsee/core/browser/Browser;Lrexsee/natives/ViewTag;[Landroid/view/View;)V

    invoke-virtual {v0, v12}, Landroid/widget/Gallery;->setAdapter(Landroid/widget/SpinnerAdapter;)V

    .line 293
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v0, v12, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    check-cast v0, Landroid/widget/Gallery;

    const/4 v12, 0x0

    invoke-virtual {v0, v12}, Landroid/widget/Gallery;->setSelection(I)V

    goto :goto_1

    .line 287
    :cond_5
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->this$0:Lrexsee/natives/RexseeJavaView;

    # getter for: Lrexsee/natives/RexseeJavaView;->mMap:Ljava/util/HashMap;
    invoke-static {v12}, Lrexsee/natives/RexseeJavaView;->access$4(Lrexsee/natives/RexseeJavaView;)Ljava/util/HashMap;

    move-result-object v12

    aget-object v13, v6, v5

    invoke-virtual {v12, v13}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lrexsee/natives/ViewTag;

    .line 288
    .local v0, "childTag":Lrexsee/natives/ViewTag;
    iget-object v12, v0, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    aput-object v12, v11, v5

    .line 289
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v12, v12, Lrexsee/natives/ViewTag;->id:Ljava/lang/String;

    iput-object v12, v0, Lrexsee/natives/ViewTag;->parentId:Ljava/lang/String;

    .line 290
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v12, v12, Lrexsee/natives/ViewTag;->childIds:Ljava/util/ArrayList;

    iget-object v13, v0, Lrexsee/natives/ViewTag;->id:Ljava/lang/String;

    invoke-virtual {v12, v13}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 286
    add-int/lit8 v5, v5, 0x1

    goto :goto_2

    .line 295
    .end local v0    # "childTag":Lrexsee/natives/ViewTag;
    .end local v5    # "i":I
    .end local v11    # "views":[Landroid/view/View;
    :cond_6
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v0, v12, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    check-cast v0, Landroid/widget/Gallery;

    new-instance v12, Lrexsee/natives/clazz/GalleryAdapter;

    iget-object v13, p0, Lrexsee/natives/RexseeJavaView$5;->this$0:Lrexsee/natives/RexseeJavaView;

    # getter for: Lrexsee/natives/RexseeJavaView;->mBrowser:Lrexsee/core/browser/Browser;
    invoke-static {v13}, Lrexsee/natives/RexseeJavaView;->access$0(Lrexsee/natives/RexseeJavaView;)Lrexsee/core/browser/Browser;

    move-result-object v13

    iget-object v14, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    invoke-direct {v12, v13, v14, v6}, Lrexsee/natives/clazz/GalleryAdapter;-><init>(Lrexsee/core/browser/Browser;Lrexsee/natives/ViewTag;[Ljava/lang/String;)V

    invoke-virtual {v0, v12}, Landroid/widget/Gallery;->setAdapter(Landroid/widget/SpinnerAdapter;)V

    .line 296
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v0, v12, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    check-cast v0, Landroid/widget/Gallery;

    const/4 v12, 0x0

    invoke-virtual {v0, v12}, Landroid/widget/Gallery;->setSelection(I)V

    goto/16 :goto_1

    .line 298
    :cond_7
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v12, v12, Lrexsee/natives/ViewTag;->type:Ljava/lang/String;

    const-string v13, "ListView"

    invoke-virtual {v12, v13}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v12

    if-eqz v12, :cond_b

    .line 299
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v12, v12, Lrexsee/natives/ViewTag;->style:Lrexsee/core/style/StyleSheet;

    iget-object v12, v12, Lrexsee/core/style/StyleSheet;->mode:Ljava/lang/String;

    const-string v13, "View"

    invoke-virtual {v12, v13}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v12

    if-eqz v12, :cond_9

    .line 300
    array-length v12, v6

    new-array v11, v12, [Landroid/view/View;

    .line 301
    .restart local v11    # "views":[Landroid/view/View;
    const/4 v5, 0x0

    .restart local v5    # "i":I
    :goto_3
    array-length v12, v6

    if-lt v5, v12, :cond_8

    .line 307
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v0, v12, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    check-cast v0, Landroid/widget/ListView;

    new-instance v12, Lrexsee/natives/clazz/ListViewAdapter;

    iget-object v13, p0, Lrexsee/natives/RexseeJavaView$5;->this$0:Lrexsee/natives/RexseeJavaView;

    # getter for: Lrexsee/natives/RexseeJavaView;->mBrowser:Lrexsee/core/browser/Browser;
    invoke-static {v13}, Lrexsee/natives/RexseeJavaView;->access$0(Lrexsee/natives/RexseeJavaView;)Lrexsee/core/browser/Browser;

    move-result-object v13

    iget-object v14, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    invoke-direct {v12, v13, v14, v11}, Lrexsee/natives/clazz/ListViewAdapter;-><init>(Lrexsee/core/browser/Browser;Lrexsee/natives/ViewTag;[Landroid/view/View;)V

    invoke-virtual {v0, v12}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    goto/16 :goto_1

    .line 302
    :cond_8
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->this$0:Lrexsee/natives/RexseeJavaView;

    # getter for: Lrexsee/natives/RexseeJavaView;->mMap:Ljava/util/HashMap;
    invoke-static {v12}, Lrexsee/natives/RexseeJavaView;->access$4(Lrexsee/natives/RexseeJavaView;)Ljava/util/HashMap;

    move-result-object v12

    aget-object v13, v6, v5

    invoke-virtual {v12, v13}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lrexsee/natives/ViewTag;

    .line 303
    .restart local v0    # "childTag":Lrexsee/natives/ViewTag;
    iget-object v12, v0, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    aput-object v12, v11, v5

    .line 304
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v12, v12, Lrexsee/natives/ViewTag;->id:Ljava/lang/String;

    iput-object v12, v0, Lrexsee/natives/ViewTag;->parentId:Ljava/lang/String;

    .line 305
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v12, v12, Lrexsee/natives/ViewTag;->childIds:Ljava/util/ArrayList;

    iget-object v13, v0, Lrexsee/natives/ViewTag;->id:Ljava/lang/String;

    invoke-virtual {v12, v13}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 301
    add-int/lit8 v5, v5, 0x1

    goto :goto_3

    .line 308
    .end local v0    # "childTag":Lrexsee/natives/ViewTag;
    .end local v5    # "i":I
    .end local v11    # "views":[Landroid/view/View;
    :cond_9
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v12, v12, Lrexsee/natives/ViewTag;->style:Lrexsee/core/style/StyleSheet;

    iget-object v12, v12, Lrexsee/core/style/StyleSheet;->mode:Ljava/lang/String;

    const-string v13, "Drawable"

    invoke-virtual {v12, v13}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v12

    if-eqz v12, :cond_a

    .line 309
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v0, v12, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    check-cast v0, Landroid/widget/ListView;

    new-instance v12, Lrexsee/natives/clazz/ListViewAdapter;

    iget-object v13, p0, Lrexsee/natives/RexseeJavaView$5;->this$0:Lrexsee/natives/RexseeJavaView;

    # getter for: Lrexsee/natives/RexseeJavaView;->mBrowser:Lrexsee/core/browser/Browser;
    invoke-static {v13}, Lrexsee/natives/RexseeJavaView;->access$0(Lrexsee/natives/RexseeJavaView;)Lrexsee/core/browser/Browser;

    move-result-object v13

    iget-object v14, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    invoke-direct {v12, v13, v14, v6}, Lrexsee/natives/clazz/ListViewAdapter;-><init>(Lrexsee/core/browser/Browser;Lrexsee/natives/ViewTag;[Ljava/lang/String;)V

    invoke-virtual {v0, v12}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    goto/16 :goto_1

    .line 311
    :cond_a
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v0, v12, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    check-cast v0, Landroid/widget/ListView;

    new-instance v12, Lrexsee/natives/clazz/StringAdapter;

    iget-object v13, p0, Lrexsee/natives/RexseeJavaView$5;->this$0:Lrexsee/natives/RexseeJavaView;

    # getter for: Lrexsee/natives/RexseeJavaView;->mBrowser:Lrexsee/core/browser/Browser;
    invoke-static {v13}, Lrexsee/natives/RexseeJavaView;->access$0(Lrexsee/natives/RexseeJavaView;)Lrexsee/core/browser/Browser;

    move-result-object v13

    iget-object v14, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v14, v14, Lrexsee/natives/ViewTag;->style:Lrexsee/core/style/StyleSheet;

    invoke-direct {v12, v13, v14, v6}, Lrexsee/natives/clazz/StringAdapter;-><init>(Lrexsee/core/browser/Browser;Lrexsee/core/style/StyleSheet;[Ljava/lang/String;)V

    invoke-virtual {v0, v12}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    goto/16 :goto_1

    .line 313
    :cond_b
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v12, v12, Lrexsee/natives/ViewTag;->type:Ljava/lang/String;

    const-string v13, "GridView"

    invoke-virtual {v12, v13}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v12

    if-eqz v12, :cond_f

    .line 314
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v12, v12, Lrexsee/natives/ViewTag;->style:Lrexsee/core/style/StyleSheet;

    iget-object v12, v12, Lrexsee/core/style/StyleSheet;->mode:Ljava/lang/String;

    const-string v13, "View"

    invoke-virtual {v12, v13}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v12

    if-eqz v12, :cond_d

    .line 315
    array-length v12, v6

    new-array v11, v12, [Landroid/view/View;

    .line 316
    .restart local v11    # "views":[Landroid/view/View;
    const/4 v5, 0x0

    .restart local v5    # "i":I
    :goto_4
    array-length v12, v6

    if-lt v5, v12, :cond_c

    .line 322
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v0, v12, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    check-cast v0, Landroid/widget/GridView;

    new-instance v12, Lrexsee/natives/clazz/ListViewAdapter;

    iget-object v13, p0, Lrexsee/natives/RexseeJavaView$5;->this$0:Lrexsee/natives/RexseeJavaView;

    # getter for: Lrexsee/natives/RexseeJavaView;->mBrowser:Lrexsee/core/browser/Browser;
    invoke-static {v13}, Lrexsee/natives/RexseeJavaView;->access$0(Lrexsee/natives/RexseeJavaView;)Lrexsee/core/browser/Browser;

    move-result-object v13

    iget-object v14, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    invoke-direct {v12, v13, v14, v11}, Lrexsee/natives/clazz/ListViewAdapter;-><init>(Lrexsee/core/browser/Browser;Lrexsee/natives/ViewTag;[Landroid/view/View;)V

    invoke-virtual {v0, v12}, Landroid/widget/GridView;->setAdapter(Landroid/widget/ListAdapter;)V

    goto/16 :goto_1

    .line 317
    :cond_c
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->this$0:Lrexsee/natives/RexseeJavaView;

    # getter for: Lrexsee/natives/RexseeJavaView;->mMap:Ljava/util/HashMap;
    invoke-static {v12}, Lrexsee/natives/RexseeJavaView;->access$4(Lrexsee/natives/RexseeJavaView;)Ljava/util/HashMap;

    move-result-object v12

    aget-object v13, v6, v5

    invoke-virtual {v12, v13}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lrexsee/natives/ViewTag;

    .line 318
    .restart local v0    # "childTag":Lrexsee/natives/ViewTag;
    iget-object v12, v0, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    aput-object v12, v11, v5

    .line 319
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v12, v12, Lrexsee/natives/ViewTag;->id:Ljava/lang/String;

    iput-object v12, v0, Lrexsee/natives/ViewTag;->parentId:Ljava/lang/String;

    .line 320
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v12, v12, Lrexsee/natives/ViewTag;->childIds:Ljava/util/ArrayList;

    iget-object v13, v0, Lrexsee/natives/ViewTag;->id:Ljava/lang/String;

    invoke-virtual {v12, v13}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 316
    add-int/lit8 v5, v5, 0x1

    goto :goto_4

    .line 323
    .end local v0    # "childTag":Lrexsee/natives/ViewTag;
    .end local v5    # "i":I
    .end local v11    # "views":[Landroid/view/View;
    :cond_d
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v12, v12, Lrexsee/natives/ViewTag;->style:Lrexsee/core/style/StyleSheet;

    iget-object v12, v12, Lrexsee/core/style/StyleSheet;->mode:Ljava/lang/String;

    const-string v13, "Drawable"

    invoke-virtual {v12, v13}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v12

    if-eqz v12, :cond_e

    .line 324
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v0, v12, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    check-cast v0, Landroid/widget/GridView;

    new-instance v12, Lrexsee/natives/clazz/ListViewAdapter;

    iget-object v13, p0, Lrexsee/natives/RexseeJavaView$5;->this$0:Lrexsee/natives/RexseeJavaView;

    # getter for: Lrexsee/natives/RexseeJavaView;->mBrowser:Lrexsee/core/browser/Browser;
    invoke-static {v13}, Lrexsee/natives/RexseeJavaView;->access$0(Lrexsee/natives/RexseeJavaView;)Lrexsee/core/browser/Browser;

    move-result-object v13

    iget-object v14, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    invoke-direct {v12, v13, v14, v6}, Lrexsee/natives/clazz/ListViewAdapter;-><init>(Lrexsee/core/browser/Browser;Lrexsee/natives/ViewTag;[Ljava/lang/String;)V

    invoke-virtual {v0, v12}, Landroid/widget/GridView;->setAdapter(Landroid/widget/ListAdapter;)V

    goto/16 :goto_1

    .line 326
    :cond_e
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v0, v12, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    check-cast v0, Landroid/widget/GridView;

    new-instance v12, Lrexsee/natives/clazz/StringAdapter;

    iget-object v13, p0, Lrexsee/natives/RexseeJavaView$5;->this$0:Lrexsee/natives/RexseeJavaView;

    # getter for: Lrexsee/natives/RexseeJavaView;->mBrowser:Lrexsee/core/browser/Browser;
    invoke-static {v13}, Lrexsee/natives/RexseeJavaView;->access$0(Lrexsee/natives/RexseeJavaView;)Lrexsee/core/browser/Browser;

    move-result-object v13

    iget-object v14, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v14, v14, Lrexsee/natives/ViewTag;->style:Lrexsee/core/style/StyleSheet;

    invoke-direct {v12, v13, v14, v6}, Lrexsee/natives/clazz/StringAdapter;-><init>(Lrexsee/core/browser/Browser;Lrexsee/core/style/StyleSheet;[Ljava/lang/String;)V

    invoke-virtual {v0, v12}, Landroid/widget/GridView;->setAdapter(Landroid/widget/ListAdapter;)V

    goto/16 :goto_1

    .line 328
    :cond_f
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v12, v12, Lrexsee/natives/ViewTag;->type:Ljava/lang/String;

    const-string v13, "SlidingDrawer"

    invoke-virtual {v12, v13}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v12

    if-eqz v12, :cond_10

    .line 329
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->this$0:Lrexsee/natives/RexseeJavaView;

    # getter for: Lrexsee/natives/RexseeJavaView;->mMap:Ljava/util/HashMap;
    invoke-static {v12}, Lrexsee/natives/RexseeJavaView;->access$4(Lrexsee/natives/RexseeJavaView;)Ljava/util/HashMap;

    move-result-object v12

    const/4 v13, 0x0

    aget-object v13, v6, v13

    invoke-virtual {v12, v13}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lrexsee/natives/ViewTag;

    .line 330
    .local v4, "handleTag":Lrexsee/natives/ViewTag;
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->this$0:Lrexsee/natives/RexseeJavaView;

    # getter for: Lrexsee/natives/RexseeJavaView;->mMap:Ljava/util/HashMap;
    invoke-static {v12}, Lrexsee/natives/RexseeJavaView;->access$4(Lrexsee/natives/RexseeJavaView;)Ljava/util/HashMap;

    move-result-object v12

    const/4 v13, 0x1

    aget-object v13, v6, v13

    invoke-virtual {v12, v13}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lrexsee/natives/ViewTag;

    .line 331
    .local v2, "contentTag":Lrexsee/natives/ViewTag;
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v0, v12, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    check-cast v0, Lrexsee/natives/widget/SlidingDrawer;

    invoke-virtual {v0}, Lrexsee/natives/widget/SlidingDrawer;->getHandle()Landroid/widget/FrameLayout;

    move-result-object v3

    .line 332
    .local v3, "handle":Landroid/widget/FrameLayout;
    invoke-virtual {v3}, Landroid/widget/FrameLayout;->removeAllViews()V

    .line 333
    iget-object v12, v4, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    invoke-virtual {v3, v12}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;)V

    .line 334
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v0, v12, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    check-cast v0, Lrexsee/natives/widget/SlidingDrawer;

    invoke-virtual {v0}, Lrexsee/natives/widget/SlidingDrawer;->getContent()Landroid/widget/FrameLayout;

    move-result-object v1

    .line 335
    .local v1, "content":Landroid/widget/FrameLayout;
    invoke-virtual {v1}, Landroid/widget/FrameLayout;->removeAllViews()V

    .line 336
    iget-object v12, v2, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    invoke-virtual {v1, v12}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;)V

    .line 337
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v12, v12, Lrexsee/natives/ViewTag;->id:Ljava/lang/String;

    iput-object v12, v4, Lrexsee/natives/ViewTag;->parentId:Ljava/lang/String;

    .line 338
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v12, v12, Lrexsee/natives/ViewTag;->id:Ljava/lang/String;

    iput-object v12, v2, Lrexsee/natives/ViewTag;->parentId:Ljava/lang/String;

    .line 339
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v12, v12, Lrexsee/natives/ViewTag;->childIds:Ljava/util/ArrayList;

    iget-object v13, v4, Lrexsee/natives/ViewTag;->id:Ljava/lang/String;

    invoke-virtual {v12, v13}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 340
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v12, v12, Lrexsee/natives/ViewTag;->childIds:Ljava/util/ArrayList;

    iget-object v13, v2, Lrexsee/natives/ViewTag;->id:Ljava/lang/String;

    invoke-virtual {v12, v13}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto/16 :goto_1

    .line 341
    .end local v1    # "content":Landroid/widget/FrameLayout;
    .end local v2    # "contentTag":Lrexsee/natives/ViewTag;
    .end local v3    # "handle":Landroid/widget/FrameLayout;
    .end local v4    # "handleTag":Lrexsee/natives/ViewTag;
    :cond_10
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v12, v12, Lrexsee/natives/ViewTag;->type:Ljava/lang/String;

    const-string v13, "Div"

    invoke-virtual {v12, v13}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v12

    if-eqz v12, :cond_12

    .line 342
    const/4 v5, 0x0

    .restart local v5    # "i":I
    :goto_5
    array-length v12, v6

    if-ge v5, v12, :cond_2

    .line 343
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->this$0:Lrexsee/natives/RexseeJavaView;

    # getter for: Lrexsee/natives/RexseeJavaView;->mMap:Ljava/util/HashMap;
    invoke-static {v12}, Lrexsee/natives/RexseeJavaView;->access$4(Lrexsee/natives/RexseeJavaView;)Ljava/util/HashMap;

    move-result-object v12

    aget-object v13, v6, v5

    invoke-virtual {v12, v13}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lrexsee/natives/ViewTag;

    .line 344
    .restart local v0    # "childTag":Lrexsee/natives/ViewTag;
    iget-object v12, v0, Lrexsee/natives/ViewTag;->style:Lrexsee/core/style/StyleSheet;

    iget-object v12, v12, Lrexsee/core/style/StyleSheet;->index:Ljava/lang/String;

    const/4 v13, -0x1

    invoke-static {v12, v13}, Lrexsee/core/utilities/Utilities;->getInt(Ljava/lang/String;I)I

    move-result v7

    .line 345
    .local v7, "index":I
    if-ltz v7, :cond_11

    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v1, v12, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    check-cast v1, Lrexsee/core/widget/Div;

    iget-object v12, v1, Lrexsee/core/widget/Div;->innerLayout:Landroid/widget/FrameLayout;

    iget-object v13, v0, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    invoke-virtual {v12, v13, v7}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;I)V

    .line 347
    :goto_6
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v12, v12, Lrexsee/natives/ViewTag;->id:Ljava/lang/String;

    iput-object v12, v0, Lrexsee/natives/ViewTag;->parentId:Ljava/lang/String;

    .line 348
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v12, v12, Lrexsee/natives/ViewTag;->childIds:Ljava/util/ArrayList;

    iget-object v13, v0, Lrexsee/natives/ViewTag;->id:Ljava/lang/String;

    invoke-virtual {v12, v13}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 342
    add-int/lit8 v5, v5, 0x1

    goto :goto_5

    .line 346
    :cond_11
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v1, v12, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    check-cast v1, Lrexsee/core/widget/Div;

    iget-object v12, v1, Lrexsee/core/widget/Div;->innerLayout:Landroid/widget/FrameLayout;

    iget-object v13, v0, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    invoke-virtual {v12, v13}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;)V

    goto :goto_6

    .line 350
    .end local v0    # "childTag":Lrexsee/natives/ViewTag;
    .end local v5    # "i":I
    .end local v7    # "index":I
    :cond_12
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v12, v12, Lrexsee/natives/ViewTag;->type:Ljava/lang/String;

    const-string v13, "ViewSwitcher"

    invoke-virtual {v12, v13}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v12

    if-eqz v12, :cond_14

    .line 351
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v12, v12, Lrexsee/natives/ViewTag;->childIds:Ljava/util/ArrayList;

    invoke-virtual {v12}, Ljava/util/ArrayList;->size()I

    move-result v12

    if-lez v12, :cond_13

    .line 352
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->this$0:Lrexsee/natives/RexseeJavaView;

    # getter for: Lrexsee/natives/RexseeJavaView;->mMap:Ljava/util/HashMap;
    invoke-static {v12}, Lrexsee/natives/RexseeJavaView;->access$4(Lrexsee/natives/RexseeJavaView;)Ljava/util/HashMap;

    move-result-object v12

    iget-object v13, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v13, v13, Lrexsee/natives/ViewTag;->childIds:Ljava/util/ArrayList;

    const/4 v14, 0x0

    invoke-virtual {v13, v14}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v13

    invoke-virtual {v12, v13}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v9

    check-cast v9, Lrexsee/natives/ViewTag;

    .line 353
    .local v9, "oldChild":Lrexsee/natives/ViewTag;
    const/4 v12, 0x0

    iput-object v12, v9, Lrexsee/natives/ViewTag;->parentId:Ljava/lang/String;

    .line 354
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v12, v12, Lrexsee/natives/ViewTag;->childIds:Ljava/util/ArrayList;

    invoke-virtual {v12}, Ljava/util/ArrayList;->clear()V

    .line 356
    .end local v9    # "oldChild":Lrexsee/natives/ViewTag;
    :cond_13
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->this$0:Lrexsee/natives/RexseeJavaView;

    # getter for: Lrexsee/natives/RexseeJavaView;->mMap:Ljava/util/HashMap;
    invoke-static {v12}, Lrexsee/natives/RexseeJavaView;->access$4(Lrexsee/natives/RexseeJavaView;)Ljava/util/HashMap;

    move-result-object v12

    const/4 v13, 0x0

    aget-object v13, v6, v13

    invoke-virtual {v12, v13}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lrexsee/natives/ViewTag;

    .line 357
    .restart local v0    # "childTag":Lrexsee/natives/ViewTag;
    if-eqz v0, :cond_0

    iget-object v12, v0, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    if-eqz v12, :cond_0

    .line 358
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v1, v12, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    check-cast v1, Landroid/widget/ViewSwitcher;

    invoke-virtual {v1}, Landroid/widget/ViewSwitcher;->getNextView()Landroid/view/View;

    move-result-object v8

    check-cast v8, Landroid/widget/FrameLayout;

    .line 359
    .local v8, "next":Landroid/widget/FrameLayout;
    invoke-virtual {v8}, Landroid/widget/FrameLayout;->removeAllViews()V

    .line 360
    iget-object v12, v0, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    invoke-virtual {v8, v12}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;)V

    .line 361
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v12, v12, Lrexsee/natives/ViewTag;->id:Ljava/lang/String;

    iput-object v12, v0, Lrexsee/natives/ViewTag;->parentId:Ljava/lang/String;

    .line 362
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v12, v12, Lrexsee/natives/ViewTag;->childIds:Ljava/util/ArrayList;

    iget-object v13, v0, Lrexsee/natives/ViewTag;->id:Ljava/lang/String;

    invoke-virtual {v12, v13}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 363
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v0, v12, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    .end local v0    # "childTag":Lrexsee/natives/ViewTag;
    check-cast v0, Landroid/widget/ViewSwitcher;

    invoke-virtual {v0}, Landroid/widget/ViewSwitcher;->showNext()V

    goto/16 :goto_1

    .line 365
    .end local v8    # "next":Landroid/widget/FrameLayout;
    :cond_14
    const/4 v5, 0x0

    .restart local v5    # "i":I
    :goto_7
    array-length v12, v6

    if-ge v5, v12, :cond_2

    .line 366
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->this$0:Lrexsee/natives/RexseeJavaView;

    # getter for: Lrexsee/natives/RexseeJavaView;->mMap:Ljava/util/HashMap;
    invoke-static {v12}, Lrexsee/natives/RexseeJavaView;->access$4(Lrexsee/natives/RexseeJavaView;)Ljava/util/HashMap;

    move-result-object v12

    aget-object v13, v6, v5

    invoke-virtual {v12, v13}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lrexsee/natives/ViewTag;

    .line 367
    .restart local v0    # "childTag":Lrexsee/natives/ViewTag;
    iget-object v12, v0, Lrexsee/natives/ViewTag;->style:Lrexsee/core/style/StyleSheet;

    iget-object v12, v12, Lrexsee/core/style/StyleSheet;->index:Ljava/lang/String;

    const/4 v13, -0x1

    invoke-static {v12, v13}, Lrexsee/core/utilities/Utilities;->getInt(Ljava/lang/String;I)I

    move-result v7

    .line 368
    .restart local v7    # "index":I
    if-ltz v7, :cond_15

    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v1, v12, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    check-cast v1, Landroid/view/ViewGroup;

    iget-object v12, v0, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    invoke-virtual {v1, v12, v7}, Landroid/view/ViewGroup;->addView(Landroid/view/View;I)V

    .line 370
    :goto_8
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v12, v12, Lrexsee/natives/ViewTag;->id:Ljava/lang/String;

    iput-object v12, v0, Lrexsee/natives/ViewTag;->parentId:Ljava/lang/String;

    .line 371
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v12, v12, Lrexsee/natives/ViewTag;->childIds:Ljava/util/ArrayList;

    iget-object v13, v0, Lrexsee/natives/ViewTag;->id:Ljava/lang/String;

    invoke-virtual {v12, v13}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 365
    add-int/lit8 v5, v5, 0x1

    goto :goto_7

    .line 369
    :cond_15
    iget-object v12, p0, Lrexsee/natives/RexseeJavaView$5;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v1, v12, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    check-cast v1, Landroid/view/ViewGroup;

    iget-object v12, v0, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    invoke-virtual {v1, v12}, Landroid/view/ViewGroup;->addView(Landroid/view/View;)V

    goto :goto_8
.end method
